package com.ghyf.mplay.bean;

import java.util.ArrayList;
import java.util.Date;

import com.ghyf.mplay.datatype.LayoutItem;

/**
 * 存储播表信息的类
 * 
 * @author 陈小红
 */
public class PlaylistInfo {
	// <File_Version>1</File_Version>
	private String version;

	// <Playlist_Name>节目单样例</Playlist_Name>
	private String playlist_name;

	// <Playlist_Des>节目单样例的描述信息</Playlist_Des>
	private String describe;

	// <Playlist_Download>1</Playlist_Download>
	private boolean playlist_download;

	// <Media_Download>1</Media_Download>
	private boolean media_download;

	// <Editor>admin</Editor>
	private String editor;

	// <EditTime>2010-02-27 16:02:58</EditTime>
	private Date edit_time;

	// <Scr_Size>(1920, 1080)</Scr_Size>
	private int screen_width;
	private int screen_height;

	// <Layout_Count>4</Layout_Count>
	private int layout_count;

	// <Layout Name="Template1" Start_Time="00:00:00"/>
	// <Layout Name="Template2" Start_Time="09:00:00"/>
	// <Layout Name="Template3" Start_Time="12:00:00"/>
	// <Layout Name="Template4" Start_Time="18:00:00"/>
	// <Layout Name="Emergency" Start_Time=""/>
	// 保存layout信息。
	private ArrayList<LayoutItem> layout_list;

	public ArrayList<LayoutItem> getLayoutItem_list() {
		return layout_list;
	}

	public void setLayoutItem_list(ArrayList<LayoutItem> layout_list) {
		this.layout_list = layout_list;
	}

	public String getPlaylist_name() {
		return playlist_name;
	}

	public void setPlaylist_name(String playlist_name) {
		this.playlist_name = playlist_name;
	}

	public String getDescribe() {
		return describe;
	}

	public void setDescribe(String describe) {
		this.describe = describe;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public boolean isPlaylist_download() {
		return playlist_download;
	}

	public void setPlaylist_download(boolean playlist_download) {
		this.playlist_download = playlist_download;
	}

	public boolean isMedia_download() {
		return media_download;
	}

	public void setMedia_download(boolean media_download) {
		this.media_download = media_download;
	}

	public ArrayList<LayoutItem> getLayout_list() {
		return layout_list;
	}

	public void setLayout_list(ArrayList<LayoutItem> layout_list) {
		this.layout_list = layout_list;
	}

	public String getEditor() {
		return editor;
	}

	public void setEditor(String editor) {
		this.editor = editor;
	}

	public Date getEdit_time() {
		return edit_time;
	}

	public void setEdit_time(Date edit_time) {
		this.edit_time = edit_time;
	}

	public int getScreen_width() {
		return screen_width;
	}

	public void setScreen_width(int screen_width) {
		this.screen_width = screen_width;
	}

	public int getScreen_height() {
		return screen_height;
	}

	public void setScreen_height(int screen_height) {
		this.screen_height = screen_height;
	}

	public int getLayout_count() {
		return layout_count;
	}

	public void setLayout_count(int layout_count) {
		this.layout_count = layout_count;
	}

}
